// components/recommend-song-item/recommend-song-item.js
Component({
  properties:{
    itemData:{
      type: Object,
      value: {}
    }
  },
  methods:{
    toMusicPlayer(){
      const id = this.properties.itemData.id
      wx.navigateTo({
        url: `/pages/music-player/music-player?id=${id}`,
      })
    }
  }
})